﻿@using System.Globalization
@using System.Threading
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
    if (Session["culture"] == null)
    {
        Session["culture"] = "en-US";
        Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US");
        Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US");
    }
    else
    {
        Thread.CurrentThread.CurrentUICulture = new CultureInfo(Session["culture"].ToString());
        Thread.CurrentThread.CurrentCulture = new CultureInfo(Session["culture"].ToString());
    }
}